    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>回车键换行</title>
        <script src="../jquery-3.4.1.js"></script>
    </head>
    <body>
    <input type="text" value="战胜新冠feiyan"><br>
    <input type="text" value="战胜新冠feiyan"><br>
    <input type="text" value="战胜新冠feiyan"><br>
    <input type="text" value="战胜新冠feiyan"><br>
    <input type="text" value="战胜新冠feiyan"><br>
    <input type="text" value="战胜新冠feiyan"><br>
    <script>
        $(function () {
            // 需求：第一，换行；第二，对换行后的内容进行选定
         $("input").on("keyup",function (e) {
                if(e.keyCode===13){
                    $(this).next().next("input").focus();
                }

         })
            $("input").on("mouseenter",function () {
                    $(this).select();
            })
        })
    </script>
    </body>
    </html>